/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package conf.mybatis.mappers;

/**
 *
 * @author dell
 */
import entity.structure.User;
import org.apache.ibatis.annotations.Param;
public interface user extends Dao
{
@Override
/**
 * @param id
 * @return
 * @pass
 */
public User selectById(@Param("id") int id);
@Override
/**
 * @param name
 * @return
 * @pass
 */
public User selectByName(@Param("name") String name);      
/**
* @param name
* @param password
* @return 
* @pass 
*/
public User selectByNameAndPassword(@Param("name") String name,@Param("password") String password);
}
